// @Date         2021-12-07
// @Author       Aaron Zhang
// @Description
// @FileName      param.go

package params

type CreateUserData struct {
	Name string `json:"name" form:"name" binding:"required"`
	Age  int    `json:"age" form:"age" binding:"required,min=1,max=150"`
	Addr string `json:"addr" form:"addr" binding:"required"`
}

type GetUserInfoResult struct {
	Name string `json:"name"`
	Age  int    `json:"age"`
	Addr string `json:"addr"`
}
